package com.netease.nie.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.netease.nie.model.RobGoodsPeriodPersonTime;

public interface RobGoodsPeriodPersonTimeMapper {

	List<RobGoodsPeriodPersonTime> queryRobGoodsPeriodPersonTimesByDisplayPeriodAndUserId(
			@Param("displayPeriod") Integer displayPeriod,
			@Param("userId") Long userId);

	List<RobGoodsPeriodPersonTime> queryRobGoodsPeriodPersonTimesByDisplayPeriod(
			int displayPeriod);

	int insertRobGoodsPeriodPersonTime(
			@Param("robGoodsPeriodPersonTime") RobGoodsPeriodPersonTime robGoodsPeriodPersonTime);
	
	List<RobGoodsPeriodPersonTime> queryRobGoodsPeriodPersonTimesByUserIdAndRobGoodsPeriodIds(@Param("userId") long userId, @Param("robGoodsPeriodIds") List<Integer> robGoodsPeriodIds);
}
